package com.dongway.netcondition.service;

import java.util.List;

import org.springframework.stereotype.Service;

import com.dongway.core.common.Paginator;
import com.dongway.core.service.BaseService;
import com.dongway.netcondition.model.OperationRecord;

@Service
public class OperationRecordService extends BaseService {

    public List<OperationRecord> all(Paginator paginator) {
        String sql = "select * from t_operation_record";
        return getDao().query(OperationRecord.class, sql, paginator);
    }


    public void save(OperationRecord record) {
        getDao().save(record);
    }
}
